#include "instructions/stack/pop.h"

namespace jvm {
namespace instructions {

void POP::execute(std::shared_ptr<rtda::Frame> frame) {
    frame->getOperandStack()->popSlot();
}

void POP2::execute(std::shared_ptr<rtda::Frame> frame) {
    auto stack = frame->getOperandStack();
    stack->popSlot();
    stack->popSlot();
}

} // namespace instructions
} // namespace jvm